.cart-page {
  min-height: 100vh;
  background: #f8f9fa;
  padding-bottom: 80px;
}

.cart-header {
  background: white;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #f0f0f0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.cart-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
}

.cart-search {
  flex: 1;
}

.cart-search .ant-input {
  border-radius: 20px;
  font-size: 14px;
}

.batch-actions {
  background: white;
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f0;
}

.cart-content {
  padding: 0 16px;
}

.cart-item {
  background: white;
  margin: 12px 0;
  padding: 16px;
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.cart-item-image {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-size: 14px;
  color: #333;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

.cart-item-specs {
  font-size: 12px;
  color: #999;
  margin-bottom: 8px;
}

.cart-item-price {
  font-size: 16px;
  font-weight: 600;
  color: #ff6b35;
  margin-bottom: 12px;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.quantity-control {
  display: flex;
  align-items: center;
  gap: 8px;
}

.quantity-btn {
  width: 32px;
  height: 32px;
  border: 1px solid #d9d9d9;
  border-radius: 50%;
  background: white;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.quantity-btn:hover {
  border-color: #ff6b35;
  color: #ff6b35;
}

.quantity-btn:active {
  transform: scale(0.95);
}

.quantity-input {
  width: 60px;
  text-align: center;
  border: none;
  font-weight: 500;
}

.quantity-input .ant-input-number-input {
  text-align: center;
}

.cart-footer {
  /* position: fixed;
  bottom: 60px;
  height: 60px;
  width: 414px;
  background: white;
  border-top: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  padding: 0 16px;
  z-index: 99; */

  position: fixed;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 375px;
  height: 60px;
  background-color: #fff;
  border-top: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  padding: 0 16px;
  z-index: 99;
}

.cart-total {
  flex: 1;
  text-align: right;
  margin-right: 16px;
}

.total-info {
  font-size: 12px;
  color: #999;
  margin-bottom: 2px;
}

.total-amount {
  font-size: 16px;
  color: #ff6b35;
  font-weight: bold;
}

.checkout-btn {
  background: #ff6b35;
  border-color: #ff6b35;
  border-radius: 20px;
  min-width: 80px;
}

.checkout-btn:hover {
  background: #ff5722;
  border-color: #ff5722;
}

.checkout-btn:disabled {
  background: #d9d9d9;
  border-color: #d9d9d9;
  color: #fff;
}

/* 移动端适配 */
@media (max-width: 375px) {
  .cart-header {
    padding: 10px 12px;
    gap: 8px;
  }
  
  .cart-title {
    font-size: 14px;
  }
  
  .cart-content {
    padding: 0 12px;
  }
  
  .cart-item {
    padding: 12px;
    gap: 10px;
  }
  
  .cart-item-image {
    width: 70px;
    height: 70px;
  }
  
  .cart-footer {
    padding: 0 12px;
  }
} 